package com.album.entity;

import java.util.Date;

public class Photo {
	private int pid;
	private String name;
	private String url;
	private int owner;
	private Date updateTime;
	
	public int getPid() {
		return pid;
	}
	public void setPid(int pid) {
		this.pid = pid;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public int getOwner() {
		return owner;
	}
	public void setOwner(int owner) {
		this.owner = owner;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	public Photo(int pid, String name, String url, int owner, Date updateTime) {
		super();
		this.pid = pid;
		this.name = name;
		this.url = url;
		this.owner = owner;
		this.updateTime = updateTime;
	}
	public Photo() {
		super();
	}
	
	
}
